import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/emergency_accident_report_entity.g.dart';
export 'package:enterprise_v6_app/generated/json/emergency_accident_report_entity.g.dart';

@JsonSerializable()
class EmergencyAccidentReportEntity {

	EmergencyAccidentReportEntity();

	factory EmergencyAccidentReportEntity.fromJson(Map<String, dynamic> json) => $EmergencyAccidentReportEntityFromJson(json);
	late String accidentNameId = '';
	late List<String> accidentScenePhotos = [];
	late String accidentUpdate = '';
	late String companyCode = '';
	late String createBy = '';
	late String createById = '';
	late String createDate = '';
	late String deleted = '';
	late String handleState = '';
	late String handleStateLabel = '';
	late String id = '';
	late String updateBy = '';
	late String updateById = '';
	late String updateDate = '';

	Map<String, dynamic> toJson() => $EmergencyAccidentReportEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}
